﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _404park.Core.Content
{
    public class Tag
    {
        public string Name { get; set; }
        public IList<Keyword> KeywordList { get; set; }
        public int Rating { get; set; }

        public Tag()
        {
            KeywordList = new List<Keyword>();
        }

        public void AddKeyword(Keyword keyword)
        {
            keyword.Tags.Add(this);
            KeywordList.Add(keyword);
        }
    }
}
